Ticket #2507: adblock-browser-beta-2213-2433 (1).xml

File adblock-browser-beta-2213-2433 (1).xml, 7.4 KB (added by saroyanm, on 05/12/2015 at 12:44:49 PM)

Adblock Browser Beta landing page

Line 
1<anwexport time="1430925101" from="http://10.10.10.10/" version_id="7" version_name="0.2.5"><anwpagegroup contentclass="page"><!--
2
3
4**************************************************
5en/adblock-browser (en) (05/06/2015 17:10:25) (Page/page)
6**************************************************
7 --><anwpage name="en/adblock-browser" lang="en" time="1430925025"><head><anwv><meta property="og:image" content="https://adblockplus.org/_override-static/global/global/img/adblockbrowser_beta_promo.png"/>
8
9<style type="text/css">
10#content *
11{
12  box-sizing: content-box;
13}
14
15#content h1
16{
17  margin-bottom: 28px;
18}
19
20ol
21{
22  font-size: 16px;
23  padding-left: 60px;
24}
25
26ol li
27{
28  margin-bottom: 14px;
29}
30
31#content h3.subscribe-header
32{
33  font-size: 18px;
34  margin-bottom: 14px;
35}
36
37.subscribe-description
38{
39  margin: 14px 0px 20px 0px;
40}
41
42.button-community-wrapper
43{
44  display: inline-block;
45  text-align: center;
46  border: solid 1px #4CAE4C;
47  border-radius: 3px;
48  background-color: #5CB85C;
49  margin: 10px 0px 30px 0px;
50}
51
52.button-community-wrapper a
53{
54  display: block;
55  padding: 25px 20px;
56  color: #FFFFFF;
57  font-weight: bold;
58  font-size: 14px;
59  text-decoration: none;
60}
61
62#subscribe-textbox
63{
64  border: solid 1px #B5B4B0;
65  margin-right: 20px;
66  padding-left: 10px;
67  padding-right: 10px;
68  font-size: 16px;
69  width: 276px;
70  line-height: 44px;
71  height: 44px; /* IE 8 */
72}
73
74#subscribe-textbox.placeholder
75{
76  color: #B5B4B0;
77}
78
79#subscribe-button
80{
81  border: solid 1px #357EBD;
82  border-radius: 3px;
83  background-color: #428BCA;
84  color: #FFFFFF;
85  font-size: 14px;
86  font-weight: bold;
87  min-width: 146px;
88  height: 44px;
89}
90
91#subscribe-button span
92{
93  padding-left: 30px;
94  padding-right: 30px;
95}
96
97.disclaimer
98{
99  display: none;
100  font-size: 14px;
101  color: #D00;
102  border: 1px solid #D00;
103  border-radius: 5px;
104  padding: 5px;
105  margin-top: 30px;
106}
107
108html[lang="fr"] .disclaimer.lang-fr
109{
110  display: block;
111}
112
113#subscribe-form .sucess-label, #response-error,
114#subscribe-form .invalid-label, #subscribe-form.success input,
115#subscribe-form.success button
116{
117  display: none;
118}
119
120#subscribe-form .invalid-label
121{
122  margin-top: 30px;
123}
124
125#subscribe-form.success .sucess-label,
126#subscribe-form.invalid .invalid-label,
127#subscribe-form.error #response-error
128{
129  display: block;
130}
131</style>
132
133<script type="text/javascript">
134//<![CDATA[
135function addListener(obj, type, listener, useCapture)
136{
137  if ("addEventListener" in obj)
138  {
139    obj.addEventListener(type, function(ev)
140    {
141      if (listener(ev) === false)
142        ev.preventDefault();
143    }, useCapture);
144  }
145  else
146  {
147    // IE 8
148    if (type == "DOMContentLoaded")
149      type = "readystatechange";
150
151    type = "on" + type;
152    if ("attachEvent" in obj)
153    {
154      obj.attachEvent(type, function()
155      {
156        if (document.readyState == "complete" && listener(event) === false)
157          event.returnValue = false;
158      });
159    }
160    else
161    {
162      obj[type] = listener;
163    }
164  }
165}
166
167function addPlaceholder(textbox)
168{
169  textbox.setAttribute("class", "placeholder");
170  textbox.value = getPlaceholderText();
171}
172
173function getPlaceholderText()
174{
175  return document.getElementById("subscribe-textbox").getAttribute("placeholder");
176}
177
178function contentLoad()
179{
180  var emailTextbox = document.getElementById("subscribe-textbox");
181
182  // IE9 + Safari iOS
183  if (!("placeholder" in document.createElement("input"))
184      && !emailTextbox.value)
185  {
186    addPlaceholder(emailTextbox);
187    addListener(emailTextbox, "focus", function()
188    {
189      if (emailTextbox.value == getPlaceholderText())
190      {
191        emailTextbox.value = "";
192        emailTextbox.setAttribute("class", "");
193      }
194    }, false);
195
196    addListener(emailTextbox, "blur", function()
197    {
198      if (!emailTextbox.value)
199        addPlaceholder(emailTextbox);
200    }, false);
201  }
202
203  addListener(document.getElementById("subscribe-form"), "submit", function()
204  {
205    var formElement = document.getElementById("subscribe-form");
206    if (!window.XMLHttpRequest)
207    {
208      formElement.submit();
209      return false;
210    }
211
212    var pathArray = window.location.pathname.split("/");
213    var params = emailTextbox.name + "=" + encodeURIComponent(emailTextbox.value);
214    params += "&lang=" + pathArray[1];
215    var request = new XMLHttpRequest();
216    request.open("POST", formElement.action, true);
217    request.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
218    addListener(request, "readystatechange", function()
219    {
220      if (request.readyState == 4)
221      {
222        if (request.status >= 200 && request.status < 300)
223        {
224          formElement.setAttribute("class", "success");
225        }
226        else if (request.status == 400)
227        {
228          formElement.setAttribute("class", "invalid");
229        }
230        else
231        {
232          var errorWrapper = document.getElementById("response-error");
233          if ("textContent" in errorWrapper)
234            errorWrapper.textContent = request.statusText;
235          else // IE8
236            errorWrapper.innerText = request.statusText;
237
238          formElement.setAttribute("class", "error");
239        }
240      }
241    }, false);
242    request.send(params);
243    return false;
244  }, false);
245}
246addListener(document, "DOMContentLoaded", contentLoad, false);
247//]]>
248</script></anwv></head><body><anwv><meta name="title"><attr name="content">Adblock Browser Beta Launch</attr></meta>
249<meta property="og:title"><attr name="content">Adblock Browser Beta Launch</attr></meta>
250<meta name="description"><attr name="content">Want Adblock Browser for your smartphone or tablet? Join the Adblock Browser for Android Beta Google+ community.</attr></meta>
251<meta property="og:description"><attr name="content">Want Adblock Browser for your smartphone or tablet? Join the Adblock Browser for Android Beta Google+ community.</attr></meta>
252
253<h3>Join the beta test!</h3>
254
255<ol>
256  <li>Join the <b>Adblock Browser for Android Beta</b> Google+ community.</li>
257  <li>Click the <b>Become a Tester</b> link.</li>
258  <li>Download the <b>beta app</b>.</li>
259</ol>
260
261<div class="button-community-wrapper">
262  <a href="https://adblockplus.org/redirect?link=adblock_browser_android_beta_community">Beta test Adblock Browser for Android</a>
263</div>
264
265<h3 class="subscribe-header">iOS user? Coming soon!</h3>
266
267<p class="subscribe-description">
268  Get a heads-up prior to the launch!
269</p>
270
271<form id="subscribe-form" accept-charset="utf-8" action="/submitEmail" method="post">
272  <input id="subscribe-textbox" type="email" name="email" required=""><attr name="placeholder">Your email address</attr></input>
273  <button id="subscribe-button" type="submit"><span>Notify me</span></button>
274  <span class="sucess-label">
275    A confirmation email has been sent. Please check your email and click the confirmation link.
276  </span>
277  <span class="invalid-label">
278    Please enter a valid email address.
279  </span>
280  <span id="response-error">
281  </span>
282</form>
283
284<div class="disclaimer lang-fr">
285  <fix>En téléchargeant le logiciel Adblock Plus vous acceptez que si vous utilisez Adblock Plus pour visiter un site Internet en violation de toute obligation ou droit de quelque nature que ce soit en relation avec ce site Internet, en aucun cas EYEO ne pourra être tenu pour responsable envers vous ou tout autre tiers pour toute perte ou dommage (y compris, sans y être limité, les dommages pour perte de chances et perte de bénéfices) découlant directement ou indirectement de votre utilisation de ce logiciel.</fix>
286</div></anwv></body><title><anwv>Want Adblock Browser for your smartphone or tablet?</anwv></title></anwpage></anwpagegroup></anwexport>